package fem2.observer;

import fem2.Observer;

public abstract class XYSourceObserver implements Observer {

	private double x, y;

	public void setData(double x, double y) {
		this.x = x;
		this.y = y;
	}

	public double getX() {
		return this.x;
	}

	public double getY() {
		return this.y;
	}

	@Override
	public void fireStarted() {
	}

	@Override
	public void fireTimeStepStarted() {
	}

	@Override
	public void fireIterationStarted() {
	}

	@Override
	public void fireIterationFinished() {
	}

	// @Override
	// public void fireTimeStepFinished() {
	// }

	@Override
	public void fireFinished() {
	}
}
